AutoUpload.WAS
Procomm Plus 4.x for Windows 95/98/NT


Should I use this script?
-------------------------
This script file automates logging into a host system and
uploading a specified file.  Depending on the transfer protocol
used, multiple files can be uploaded during a session.  Just
specify the directory where the files are located. If you are
using a batch protocol, (one that transfers multiple files)
such as ZMODEM, YMODEM, or KERMIT, you can use wildcards in the
file name to specify which files to transfer. (*.*, *.txt,
*.doc, etc.)  AutoUpload is set to automatically exit the
script and Procomm Plus at the end of the process.



Customization
----------------------------
NOTE:  Depending on the editor that you are using the line number
may change.

*To set the phone number to dial edit the  definition (PNumber) on
line 29.
*To name the file to upload to the host, edit the Global Variable
(FName) on line 30.  
*If you are using ZMODEM, YMODEM, or KERMIT, you can specify
wildcards.  Just name the directory the files are stored in.  For
example, "C:\UPLOAD\*.TXT".
*To set the modem connection baud rate edit (set port baudrate) on
line 38.
*To set the parity in the line settings edit (set port parity) on
line 39.
*To set the number of databits in the line settings edit (set port
databits) on line 40.
*To set the number of stopbits in the line settings edit (set port
stopbits) on line 41.
*To set the duplex to either FULL or HALF, edit (set duplex) on
line 42.
*To set the number of retries when dialing edit (set dial retries)
on line 43.
*To set the prompt to "wait for" which initiates the transfer,
edit (waitfor "string") on line 50.
*To set the file transfer protocol to use while uploading a file
edit (sendfile PROTOCOL) on line 52.
*If you don't want to exit Procomm Plus automatically at the end
of the process, remove or remark out (using a semi-colon) the
command "pwexit" on line 66.
 

How do I install AutoUpload.WAX?
---------------------------------
Copy AutoUpload.WAS to your ASPECT directory and compile it by
selecting Tools | Scripts | Compile/Edit from the Procomm Plus
Menu bar.


How do I run AutoUpload.WAX?
--------------------------------
From the Action Bar:

1)  Click on the Script File drop down menu.
2)  Select AutoUpload.

From the Menu Bar:

1)  Click on Tools | Scripts.
2)  Click on Run.
3)  Select AutoUpload.WAX.
4)  Click on Open.

NOTE:  If AutoUpload.WAX does not appear in the Script File
       drop down list, you might have a different default ASPECT
       path.  To change the path, go to Options | Data Options |
       Paths and change the path to
       PROGRAM FILES\PROCOMM PLUS\ASPECT directory.


